<template>
  <div id="category">一级分类页面-{{ route.params.id }}</div>
</template>

<script lang="ts" setup name="category">
// category
import { useRoute } from 'vue-router'

// home
const route = useRoute()
console.log(route.params.id)
</script>

<style lang="scss" scoped>
#category {
}
</style>
